package com.cms.dao;

import com.cms.dto.ScoreVO;
import com.cms.entity.Course;
import com.cms.entity.Score;
import com.cms.utils.page.Pagination;
import java.util.List;

public interface ScoreDao {

  int deleteByPrimaryKey(Integer id);

  int insert(Score record);

  int insertSelective(Score record);

  Score selectByPrimaryKey(Integer id);

  int updateByPrimaryKeySelective(Score record);

  int updateByPrimaryKey(Score record);

  int delete(Score score);

  int update(List<Score> scoreList);

  List<Course> getCourseList(Pagination<Course> page, String id, Integer result);

  int getTotalItemsCount(String id, Integer result);

  int getTotalItemsCountForExport(ScoreVO scoreVo);

  List<ScoreVO> getScoreListForExport(Pagination<ScoreVO> page,
      ScoreVO scoreVo);
}